package com.ruoyi.web.controller.system.dto;

import java.util.Date;
import java.util.StringJoiner;

/**
 * @author William
 */
public class SysProfileDTO {
    private String name;
    private String sex;
    private String age;
    private Date birthday;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return new StringJoiner(", ", SysProfileDTO.class.getSimpleName() + "[", "]")
                .add("name='" + name + "'")
                .add("sex='" + sex + "'")
                .add("age='" + age + "'")
                .add("birthday=" + birthday)
                .toString();
    }
}
